//designpatterns.flyweight.extend.Coordinates.java
package com.lx.design.demo.liu.wei.designpatterns.flyweight.extend;

//坐标类：外部状态类
public class Coordinates {
	private int x;
	private int y;
	
	public Coordinates(int x,int y) {
		this.x = x;
		this.y = y;
	}
	
	public int getX() {
		return this.x;
	}
	
	public void setX(int x) {
		this.x = x;
	}
	
	public int getY() {
		return this.y;
	}
	
	public void setY(int y) {
		this.y = y;
	}
} 
